//
//  AddressView.m
//  JackDeve
//
//  Created by apple on 17/5/15.
//  Copyright © 2017年 wkq. All rights reserved.
//

#import "AddressView.h"

@implementation AddressView

-(instancetype)initWithFrame:(CGRect)frame{
    if (self = [super initWithFrame:frame]) {
        [self addSubview:self.table];
       
        
    }
    
    return self;
    
}

- (UITableView *)table {
    if (_table==nil) {
        _table            = [[UITableView alloc] initWithFrame:self.bounds style:UITableViewStyleGrouped];
        
        _table.backgroundView = nil;
        _table.backgroundColor = [UIColor colorWithRed:(246/255.0) green:(246/255.0) blue:(246/255.0) alpha:1];
    }
    return _table;
}

@end
